package com.java.synthetic;

import static java.lang.System.out;
import java.util.Calendar;

public final class DemonstrateSyntheticMethods {

    public static void main(final String[] arguments) {
        DemonstrateSyntheticMethods.NestedClass nested =
                new DemonstrateSyntheticMethods.NestedClass();
        out.println("String: " + nested.highlyConfidential);
    }

    private static final class NestedClass {
        private String highlyConfidential = "Don't tell anyone about me";
        private int highlyConfidentialInt = 42;
        private Calendar highlyConfidentialCalendar = Calendar.getInstance();
        private boolean highlyConfidentialBoolean = true;
    }
}
